package com.cnap.multiclouldmgmt.model.microSvc;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

/**
 * 内存使用的情况
 *
 * @author xc
 **/
@ApiModel(value = "com.cnap.multiclouldmgmt.model.microSvc.MicroSvcReqCostInfoModel",description = "告警用的微服务资源统计")
public class MicroSvcReqCostInfoModel {

    //id
    @ApiModelProperty(value = "id")
    private String id;

    //svcId
    @ApiModelProperty(value = "微服务id")
    private String microSvcId;

    //createTime
    @ApiModelProperty(value = "createTime")
    private Date createTime;

    //请求时间，单位毫秒
    @ApiModelProperty(value = "请求时间，单位毫秒")
    private Integer reqCost;

    //微服务名称
    @ApiModelProperty(value = "微服务名称")
    private String microSvcName;

    /**
     * get
     *
     * @return Id
     */
    public String getId() {
        return id;
    }

    /**
     * set
     *
     * @param id id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * get
     *
     * @return SvcId
     */
    /**
     * get
     *
     * @return MicroSvcId
     */
    public String getMicroSvcId() {
        return microSvcId;
    }

    /**
     * set
     *
     * @param microSvcId microSvcId
     */
    public void setMicroSvcId(String microSvcId) {
        this.microSvcId = microSvcId;
    }

    /**
     * get
     *
     * @return CreateTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * set
     *
     * @param createTime createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * get
     *
     * @return ReqCost
     */
    public Integer getReqCost() {
        return reqCost;
    }

    /**
     * set
     *
     * @param reqCost reqCost
     */
    public void setReqCost(Integer reqCost) {
        this.reqCost = reqCost;
    }

    /**
     * get
     *
     * @return MicroSvcName
     */
    public String getMicroSvcName() {
        return microSvcName;
    }

    /**
     * set
     *
     * @param microSvcName microSvcName
     */
    public void setMicroSvcName(String microSvcName) {
        this.microSvcName = microSvcName;
    }
}
